package io.renren.modules.yckj.dao;

import io.renren.common.dao.BaseDao;
import io.renren.modules.yckj.entity.InvoiceLogsEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 发票日志
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2025-04-16
 */
@Mapper
public interface InvoiceLogsDao extends BaseDao<InvoiceLogsEntity> {

    List<InvoiceLogsEntity> getInvoiceLogList(Map<String, Object> params);

    /**
     * @param params userId,businessId,businessType
     * @return 实体
     */
    InvoiceLogsEntity getByUserIdBusiness(Map<String, Object> params);
}